package com.mayblackcat.dy.service;

import com.mayblackcat.dy.FrontEndData.AjaxResult;
import com.mayblackcat.dy.entity.User;

import java.util.List;


public interface LoginService {
    User findByUser(String username, String password);

    AjaxResult registerUser(String username, String password,String email,String sex);

    List<User> findByAll();

    boolean updateStatus(User user);
}
